<template>
  <div class="outer">
    <Tab title="美食">
      <template #content>
        <img
          width="200"
          src="https://img2.baidu.com/it/u=2082735800,426564252&fm=253&fmt=auto&app=138&f=GIF?w=400&h=300"
          alt=""
        />
      </template>
      <template #footer={msg,num,sex}>
        <p>底部{{msg}}</p>
        <p v-for="item in num" :key="item">{{item}}</p>
        <p>{{sex}}</p>
      </template>

      </Tab>
    <Tab title="游戏">
      <template #content>
        <ul>
        <li>LoL</li>
        <li>CF</li>
        <li>DNF</li>
      </ul>
      </template>
      <template #footer>
       <p >底部</p>
      </template>
    </Tab>
    <!-- <Tab title="电影">
      <video src="" width="200" autoplay muted></video>
    </Tab> -->
  </div>
</template>

<script>
import { v4 as uuidv4 } from "uuid";
import Tab from "./components/Tab";
export default {
  name: "App",

  components: {
    Tab,
  },
  data() {
    return {};
  },
};
</script>

<style scoped>
.outer {
  width: 800px;
  display: flex;
  justify-content: space-between;
}
</style>